<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;


/**
 * Class User
 * @package App\Models
 *
 * @property integer $id
 * @property integer $user_id
 * @property  $user_name
 */
class Member extends Model
{
    public $timestamps = false;

    use Notifiable;
    const STATUS_ZE = 0;//未达到
    const STATUS_ONE = 1;//达到未领取
    const STATUS_TWO = 2;//达到已领取
    const STATUS_TRUE = 1;//已经审核
    const STATUS_FALSE = 0;//未审核
    protected $table = 'ty_member';
    protected $primaryKey = 'member_id';
    protected $fillable = ['member_id','name', 'email', 'mobile','password', 'province', 'hospital', 'department', 'num',
        'score', 'all_score', 'hundred_reward', 'one_status', 'two_status', 'status'];

    // Rest omitted for brevity

}
